﻿namespace DocTranslator.Models
{
    public class DeepSeekApiResponse
    {
        public string id { get; set; }
        //@逃逸符，标记这是普通标识符，非关键字
        public string @object { get; set; }
        public long created { get; set; }
        public string model { get; set; }
        public List<DeepSeekChoice> choices { get; set; }
        public DeepSeekUsage usage { get; set; }
    }
    public class DeepSeekChoice
    {
        public int index { get; set; }
        public DeepSeekMessage message { get; set; }
        public string finish_reason { get; set; }
    }

    public class DeepSeekMessage
    {
        public string role { get; set; }
        public string content { get; set; }
    }

    public class DeepSeekUsage
    {
        public int prompt_tokens { get; set; }
        public int completion_tokens { get; set; }
        public int total_tokens { get; set; }
    }
}
